<?php
/**
 * Product klasse
 * Is used to define products in the webshop.
 * @author Hugo Zonderland
 */
class Product extends ClassBase {

	public $id;
	public $name;
	public $description;
	public $price;
	public $active;
	
	/**
	 * Default constructor.
	 * Initialise the ClassBase class
	 * @see ClassBase::__construct()
	 */
	public function __construct() {
		$this->class = "Product";
		$this->tablename = "product";
		
		$this->fields = array("id", "name", "description", "price", "categories", "active");
	}
}
?>